extends "../hailunna-1/hailunna-1.gd"


func _extInit():
	._extInit()
	lv = 2             #等级的设置
	addSkill("<先手>每{cd}秒，让所有敌人<暴露>", "雷达扫描", "radarScanning", 8)

func _castCdSkill(id):
	._castCdSkill(id)
	if id == "radarScanning":
		radarScanning()

func _onBattleStart():
	._onBattleStart()
	radarScanning()

func radarScanning():
	utils.createSkillTextEff("雷达扫描", position)
	var chas = getAllChas(1)
	for i in chas:
		buff.addBaoLu(i, 1)